﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Trade.Model
{
    public class SubjectInfo
    {
        private int subjectId;
        private string subjectCode;
        private string subjectName;
        private int parentId;
        private bool disabled;
        private bool detailFlag;
        private string description;

        public SubjectInfo()
        {
 
        }

        public SubjectInfo(int subjectId, string subjectCode, string subjectName, int parentId, bool disabled, bool detailFlag, string description)
        {
            this.subjectId = subjectId;
            this.subjectCode = subjectCode;
            this.subjectName = subjectName;
            this.parentId = parentId;
            this.disabled = disabled;
            this.detailFlag = detailFlag;
            this.description = description;
        }
        
        public int SubjectId
        {
            get { return subjectId; }
            set { subjectId = value; }
        }

        public string SubjectCode
        {
            get { return subjectCode; }
            set { subjectCode = value; }
        }

        public string SubjectName
        {
            get { return subjectName; }
            set { subjectName = value; }
        }

        public int ParentId
        {
            get { return parentId; }
            set { parentId = value; }
        }

        public bool Disabled
        {
            get { return disabled; }
            set { disabled = value; }
        }

        public bool DetailFlag
        {
            get { return detailFlag; }
            set { detailFlag = value; }
        }

        public string Description
        {
            get { return description; }
            set { description = value; }
        }
    }
}
